package com.jxw.scanpen;
import com.jxw.scanpen.OcrCallback;
interface IOcrAidlInterface {
    void initOcrSdk(int crop_left, int crop_top, int crop_right,int crop_button,int width,int height,int break_step,int pgs_step);
    void SPOCREngineStart();
    void SPOCREngineStop();
    void pushOcr(in byte[] data,int status);
    void registerOcrCallback(OcrCallback listener);
    void unregisterOcrCallback(OcrCallback listener);
    void getOCREngineResult();
    void playSound(int lang, String text);
    void stopSound();
    boolean isSpeaking();
    void setTTSSpeed(int speed);
    void getTranslateRes(int srcLang, int dstLang, String strInput);
    void initAEEEngine();
    void pushOcr2(int status);
    void initOcrConfig(int crop_left, int crop_top, int crop_right,int crop_button,int width,int height,int firstIgnoreFrame,int lastIgnoreFrame,boolean saveImage,boolean outText);
}